import React from 'react';
import ReactDom from 'react-dom'
import {NavLink} from 'react-router-dom'
import {HomeTwoTone,ProfileTwoTone,UserOutlined} from '@ant-design/icons'

import './index.less';

class Tabs extends React.Component{
    constructor(props){
        super(props);
        console.log('tabs',this);
    }

    render() {
        return <footer>
                    <NavLink to={'/'}><HomeTwoTone /> 首页</NavLink>
                    <NavLink to={'/profile'}><ProfileTwoTone /> 购物车</NavLink>
                    <NavLink to={'/user'}><UserOutlined /> 个人中心</NavLink>
                    {/* <NavLink to={'/test'}>测试</NavLink> */}
                </footer>
    }
}

export default Tabs;